<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>朋友圈</title>
    <link rel="stylesheet" href="css/moments.css">
</head>

<body>
    <div class="moments-container">
        <header class="moments-header">
            <h1>朋友圈</h1>
            <button class="post-btn">发布</button>
        </header>

        <div class="moments-list" id="momentsList">
            <!-- 动态将通过JS动态生成 -->
        </div>
    </div>

    <!-- 评论输入框 (默认隐藏) -->
    <div class="comment-input-container" id="commentInputContainer">
        <input type="text" id="commentInput" placeholder="写评论...">
        <button id="submitComment">发送</button>
    </div>

    <script src="js/data.js"></script>
    <script src="js/moments.js"></script>
</body>

</html>